package com.bonuo.crm.service;

import com.bonuo.crm.domain.Project;
import com.bonuo.crm.domain.vo.CountAmount;

import java.math.BigDecimal;
import java.util.List;

public interface ProjectService {
    List<Project> selectProjectList(Project project);

    Integer insertProject(Project project);

    Integer deleteProjectById(Integer id);

    Integer updateProject(Project project);

    Integer selectProjectByProjectName(String name);

    Integer selectProjectByContactIdAndMonth(Integer contactId);

    CountAmount selectAmount(List<Integer> ids);

    String selectProjectByProjectNameOrNo(Project project);

    BigDecimal selectAmountByNotBid(List<Integer> ids);

    BigDecimal selectAmountByStop(List<Integer> ids);

    List<Integer> selectBNProjectIds();

    List<Integer> selectProjectListIds(Project project,List<Integer> bnProjectIds);


}
